package com.files.service.impl;

import com.aliyun.oss.OSS;
import com.files.ReturnT;
import com.files.model.FileInfo;
import com.files.service.FileServcie;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class AliOssFileServiceImpl implements FileServcie {

//    @Autowired
//    private OSS ossClient;


    @Override
    public ReturnT<FileInfo> upload(FileInfo fileInfo) {
//        ossClient.putObject("","",fileInfo.getInputStream());
        return null;
    }
}
